package com.ruoyi.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.core.domain.BaseEntity;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


public class TiffSeg
{

    /**
     * '数据id'
     */
    private Long id;
    /**
     * '文件名称'
     */
    private String fileName;
    /**
     * 标签
     */
    private String tag;
    /**
     * '文件大小'
     */
    private Double fileSize;
    /**
     * '文件url'
     */
    private String newFileName;
    /**
     * '分割后的文件存储url'
     */
    private String originalFileName;
    /**
     * '分享url'
     */
    private String objectName;
    /**
     * 'dzi ObjectName'
     */
    private String dziObjectName;
    /**
     * '分享url'
     */
    private String shareUrl;
    /**
     * '分享密码'
     */
    private String sharePassword;
    /**
     * '是否已上传到oss中，0 未上传 1 已上传'
     */
    private String uploadStatus;
    /**
     * '是否分割 0 未分割 1 已分割'
     */
    private Integer isSeg;
    /**
     * '是否可用 0 禁用 1 可用'
     */
    private String status;
    /**
     * '是否删除 0 删除 1 未删除'
     */
    private Integer delFlag;
    /**
     * '数据创建账号ID， sys_user.id'
     */
    private Long createBy;
    /**
     * '数据修改账号ID， sys_user.id'
     */
    private Long updateBy;

    //====检索条件====
    /**
     * 时间范围
     */
    private List<Date> rangeTime;
    /**
     * 开始时间
     */
    private String startTime;
    /**
     * 结束时间
     */
    private String endTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public Double getFileSize() {
        return fileSize;
    }

    public void setFileSize(Double fileSize) {
        this.fileSize = fileSize;
    }

    public String getNewFileName() {
        return newFileName;
    }

    public void setNewFileName(String newFileName) {
        this.newFileName = newFileName;
    }

    public String getOriginalFileName() {
        return originalFileName;
    }

    public void setOriginalFileName(String originalFileName) {
        this.originalFileName = originalFileName;
    }

    public String getObjectName() {
        return objectName;
    }

    public void setObjectName(String objectName) {
        this.objectName = objectName;
    }

    public String getUploadStatus() {
        return uploadStatus;
    }

    public void setUploadStatus(String uploadStatus) {
        this.uploadStatus = uploadStatus;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public List<Date> getRangeTime() {
        return rangeTime;
    }

    public void setRangeTime(List<Date> rangeTime) {
        this.rangeTime = rangeTime;
    }

    public String getDziObjectName() {
        return dziObjectName;
    }

    public void setDziObjectName(String dziObjectName) {
        this.dziObjectName = dziObjectName;
    }

    public String getShareUrl() {
        return shareUrl;
    }

    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }

    public String getSharePassword() {
        return sharePassword;
    }

    public void setSharePassword(String sharePassword) {
        this.sharePassword = sharePassword;
    }

    public Integer getIsSeg() {
        return isSeg;
    }

    public void setIsSeg(Integer isSeg) {
        this.isSeg = isSeg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    /** 搜索值 */
    @JsonIgnore
    private String searchValue;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 备注 */
    private String remark;

    /** 请求参数 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Map<String, Object> params;

    public String getSearchValue()
    {
        return searchValue;
    }

    public void setSearchValue(String searchValue)
    {
        this.searchValue = searchValue;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public Date getUpdateTime()
    {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime)
    {
        this.updateTime = updateTime;
    }

    public String getRemark()
    {
        return remark;
    }

    public void setRemark(String remark)
    {
        this.remark = remark;
    }

    public Map<String, Object> getParams()
    {
        if (params == null)
        {
            params = new HashMap<>();
        }
        return params;
    }

    public void setParams(Map<String, Object> params)
    {
        this.params = params;
    }

}


